package com.cty.service.impl;

import com.cty.dao.HeroDao;
import com.cty.dao.impl.HeroDaoImpl;
import com.cty.service.HeroService;
import com.cty.vo.Hero;

/**
 * @Auther: cty
 * @Date: 2020/2/14 21:19
 * @Description:
 * @version: 1.0
 */
public class HeroServiceImpl implements HeroService {
    //获取Dao层对象
    HeroDao ud=new HeroDaoImpl();
    @Override
    public Hero getHeroInfoService(String name) {
        return ud.getHeroInfo(name);
    }
}
